import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {ConActivityForecastComponent} from './con-activity-forecast.component';

const routes: Routes = [
    {path: '', component: ConActivityForecastComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-con-activity-forecast/add-con-activity-forecast.module#AddConActivityForecastModule'},
            {path: 'list', loadChildren: './list-con-activity-forecast/list-con-activity-forecast.module#ListConActivityForecastModule'},
            {path: 'modify', loadChildren: './modify-con-activity-forecast/modify-con-activity-forecast.module#ModifyConActivityForecastModule'},
            {path: 'report', loadChildren: './report-con-activity-forecast/report-con-activity-forecast.module#ReportConActivityForecastModule'},
        ]
    }
];


@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class ConActivityForecastRoutingModule {
}
